﻿using Framework.Core.Process.Tasks;
using Xunit;

namespace Framework.Tests.Core.Process.Tasks
{
    public class NetStopTest
    {
        [Fact]
        public void Should_validate_command()
        {
            var netStop = new NetStop("titi");

            Assert.True(netStop.IsNative);
            Assert.Equal("net", netStop.Name);
            Assert.Equal(@"c:\windows\system32\net.exe", netStop.FileName);
            Assert.Equal("stop titi", netStop.Arguments);
        }
    }
}
